import { createApp } from 'vue'
import pinia from './store'
import router from './router'
import './assets/css/index.css'
// import './apollo'
import i18n from './i18n'
import useIcon from '@/components/svg-icon'
import useDirective from './directive'
import App from './App.vue'

import VXETable from 'vxe-table'

VXETable.setConfig({
  tooltip: {
    zIndex: 999
  }
})

const app = createApp(App)

app.use(VXETable)

app.use(i18n)
app.use(pinia)
app.use(router)
app.use(useIcon)
app.use(useDirective)

app.mount('#app')
